package com.bnlr.lrparking.appui.publish.openenter;

import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;

import com.bnlr.lrparking.R;
import com.bnlr.lrparking.base.BaseActivity;
import com.bnlr.lrparking.event.ApplyEnterEvent;

import org.greenrobot.eventbus.EventBus;

/**
 * 入驻提交成功
 *
 * @author hp
 */
public class ApplyEnterSuccessActivity extends BaseActivity {
    RelativeLayout tv;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_apply_enter_success);
        tv = (RelativeLayout) findViewById(R.id.apply_finish);
        tv.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                EventBus.getDefault().post(new ApplyEnterEvent());
                finish();
            }
        });
    }

    @Override
    public void onBackPressed() {

    }
}
